/**
 * Created by ASUS on 2021/5/27.
 */
//引入mysql模块
const mysql = require('mysql');
// 创建连接池对象,导出这个对象
const pool = mysql.createPool({
    host:'127.0.0.1',
    port:'3306',
    user:'root',
    password:'',
    database:'xz',
    connectionLimit:15
})
//导出连接池对象
module.exports = pool;